package com.example.service;

import com.example.entity.Speciality;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SpecialityService {
    void add(Speciality speciality);

    PageInfo<Speciality> selectPage(Integer pageNum, Integer pageSize, String name);

    List<Speciality> selectAll();

    void updateById(Speciality speciality);

    void deleteById(Integer id);
}
